Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 17 - File Objects / File Objects Reference
File Objects Routines / Accessing File Objects


Q3File_OpenWrite

You can use the Q3File_OpenWrite function to open a file object for writing.

TQ3Status Q3File_OpenWrite (
TQ3FileObject file, 
TQ3FileMode mode);
file
A file object.
mode
On exit, a set of bit flags that specify the file mode of the specified file object. Set this field to NULL if you do not want a file mode to be returned.
DESCRIPTION
The Q3File_OpenWrite function opens for writing the file object specified by the file parameter and returns the file mode of the file object in the mode parameter. See "File Mode Flags" on page 17-12 for a description of the available file mode flags.

ERRORS
kQ3ErrorOSError
kQ3ErrorOutOfMemory


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996